Skip to content

Conversation

@0xh3rman
Copy link
Collaborator

@0xh3rman 0xh3rman commented Nov 29, 2025

  • YO protocol

@semanticdiff-com
Copy link

semanticdiff-com bot commented Nov 29, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/gem_evm/src/rpc/client.rs  54% smaller
  crates/gem_evm/src/everstake/client.rs  31% smaller
  crates/gem_evm/src/contracts/erc20.rs  14% smaller
  crates/gem_evm/src/multicall3.rs  6% smaller
  Cargo.lock Unsupported file format
  Cargo.toml Unsupported file format
  crates/gem_evm/src/call_decoder.rs  0% smaller
  crates/gem_evm/src/lib.rs  0% smaller
  crates/yielder/Cargo.toml Unsupported file format
  crates/yielder/src/lib.rs  0% smaller
  crates/yielder/src/models.rs  0% smaller
  crates/yielder/src/provider.rs  0% smaller
  crates/yielder/src/yo/client.rs  0% smaller
  crates/yielder/src/yo/contract.rs  0% smaller
  crates/yielder/src/yo/error.rs  0% smaller
  crates/yielder/src/yo/mod.rs  0% smaller
  crates/yielder/src/yo/model.rs  0% smaller
  crates/yielder/src/yo/provider.rs  0% smaller
  crates/yielder/src/yo/vault.rs  0% smaller
  crates/yielder/tests/integration_test.rs  0% smaller
  gemstone/Cargo.toml Unsupported file format
  gemstone/src/gem_yielder/mod.rs  0% smaller
  gemstone/src/gem_yielder/remote_types.rs  0% smaller
  gemstone/src/lib.rs  0% smaller

Refactored multicall3 to provide a builder-based batch interface with typed result decoding, replacing manual call construction and decoding in everstake and yielder modules. Added efficient position data fetching in YoGatewayClient using multicall batching for balances and historical prices, and updated YoYieldProvider to use this for APY and position queries. Added integration test for YoVault positions. Improved error handling and re-exported PositionData.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants